import { request } from 'umi';


// get单纯获取数据
export const getStudentInterViewRList = (path: string) => {
    return request(path)
}



//get条件请求数据
export const gitInterView = (path: string, params: any) => {
    return request(path, { params })
}


// post请求
export const getPostInterView=(path:string,params:any)=>{
    return request(path,{
        method:"post",
        data:params
      })
}

// 删除数据
export let getDeleteItem = (path:string) => {
    return request(path, {
        method: 'DELETE'
    })
}